<?php namespace Admin\Controller;
use Hdphp\Controller\Controller;
class CommonController extends Controller{
	public function __init(){
		if(!isset($_SESSION['info'])){
			go(U('Login/index'));
		}
		if(method_exists($this, '__auto')){
			$this->__auto();
		}
	}
}



 ?>